package com.ruoyi.users.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户对象 users
 * 
 * @author lin
 * @date 2025-03-04
 */
public class Users extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户名 */
    @Excel(name = "用户名")
    private String platformUsername;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 国家 */
    @Excel(name = "国家")
    private String country;

    /** 播放次数 */
    @Excel(name = "播放次数")
    private Long playCount;

    /** 歌单数目 */
    @Excel(name = "歌单数目")
    private Long playlistCount;

    /** 订阅类型 */
    @Excel(name = "订阅类型")
    private String userType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPlatformUsername(String platformUsername) 
    {
        this.platformUsername = platformUsername;
    }

    public String getPlatformUsername() 
    {
        return platformUsername;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setCountry(String country) 
    {
        this.country = country;
    }

    public String getCountry() 
    {
        return country;
    }
    public void setPlayCount(Long playCount) 
    {
        this.playCount = playCount;
    }

    public Long getPlayCount() 
    {
        return playCount;
    }
    public void setPlaylistCount(Long playlistCount) 
    {
        this.playlistCount = playlistCount;
    }

    public Long getPlaylistCount() 
    {
        return playlistCount;
    }
    public void setUserType(String userType) 
    {
        this.userType = userType;
    }

    public String getUserType() 
    {
        return userType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("platformUsername", getPlatformUsername())
            .append("gender", getGender())
            .append("age", getAge())
            .append("country", getCountry())
            .append("playCount", getPlayCount())
            .append("playlistCount", getPlaylistCount())
            .append("userType", getUserType())
            .toString();
    }
}
